<template>
  <el-breadcrumb separator="/">
    <el-breadcrumb-item
      v-for="item in router.currentRoute.value.matched.slice(1)"
      :to="{ path: item.path }"
      >{{ item.name }}
    </el-breadcrumb-item>
  </el-breadcrumb>
</template>
<script setup>
import { useStore } from '@/store/user'
import { useRouter } from 'vue-router'

const store = useStore()
const router = useRouter()
</script>
<style></style>
